import Vue from 'vue';
import VueRouter from 'vue-router';
import ProductCardList from "./pages/ProductCardList";

Vue.use(VueRouter);


export default new VueRouter({
    routes:[
        {
            path:'/',
            name:'home',
            components: Vue.component('Home',require('./pages/Home.vue')),
            children:[
                {path: '/productcardlist',component: ProductCardList,name:'productcardlist'}
            ]
        },
    ]
});